package com.linkai.onlinetool.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Question)实体类
 *
 * @author 林凯
 * @since 2021-03-12 11:38:17
 */
public class Question implements Serializable {
    private static final long serialVersionUID = 860365481525401469L;
    /**
    * 题目id
    */
    private Integer qId;
    /**
    * 问题主体内容
    */
    private String qContent;
    /**
    * 创建时间
    */
    private Date gmtCreate;
    /**
    * 修改时间
    */
    private Date gmtModified;

    public Question() {
    }

    public Question(Integer qId, String qContent, Date gmtCreate, Date gmtModified) {
        this.qId = qId;
        this.qContent = qContent;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "Question{" +
                "qId=" + qId +
                ", qContent='" + qContent + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                '}';
    }

    public Integer getQId() {
        return qId;
    }

    public void setQId(Integer qId) {
        this.qId = qId;
    }

    public String getQContent() {
        return qContent;
    }

    public void setQContent(String qContent) {
        this.qContent = qContent;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

}